package org.bwf.study.aop;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD) // 指定注解在方法只上
@Retention(RetentionPolicy.RUNTIME)
public @interface RedisAnnotation {
    int Duration() default 300; // Redis缓存时效，传递给AOP
}
